package p270jp.pxv.android.authentication.domain.model;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import p325m0.MutabilityOwnership;

/* compiled from: AuthorizationCode.kt */
/* renamed from: jp.pxv.android.authentication.domain.model.AuthorizationCode */
/* loaded from: classes2.dex */
public final class AuthorizationCode implements Parcelable {
    public static final Parcelable.Creator<AuthorizationCode> CREATOR = new C4188a();

    /* renamed from: a */
    public final String f18878a;

    /* compiled from: AuthorizationCode.kt */
    /* renamed from: jp.pxv.android.authentication.domain.model.AuthorizationCode$a */
    /* loaded from: classes2.dex */
    public static final class C4188a implements Parcelable.Creator<AuthorizationCode> {
        @Override // android.os.Parcelable.Creator
        public AuthorizationCode createFromParcel(Parcel parcel) {
            MutabilityOwnership.m3745m(parcel, "parcel");
            return new AuthorizationCode(parcel.readString());
        }

        @Override // android.os.Parcelable.Creator
        public AuthorizationCode[] newArray(int i) {
            return new AuthorizationCode[i];
        }
    }

    public AuthorizationCode(String str) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.VALUE);
        this.f18878a = str;
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    @Override // java.lang.Object
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof AuthorizationCode) && MutabilityOwnership.m3749h(this.f18878a, ((AuthorizationCode) obj).f18878a);
    }

    @Override // java.lang.Object
    public int hashCode() {
        return this.f18878a.hashCode();
    }

    @Override // java.lang.Object
    public String toString() {
        return C2047a.m8800b(C0261e.m12042c("AuthorizationCode(value="), this.f18878a, ')');
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        MutabilityOwnership.m3745m(parcel, "out");
        parcel.writeString(this.f18878a);
    }
}
